package com.hoperun.nocserver.common.entity;

import org.nutz.json.Json;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "Encrypt")
public class Encrypt {

	private String firstKey;
	private String secondKey;
	private String thirdKey;
	private int userPwdHash;
	private String userPwdSalt;

	public String getFirstKey() {
		return firstKey;
	}

	public void setFirstKey(String firstKey) {
		this.firstKey = firstKey;
	}

	public String getSecondKey() {
		return secondKey;
	}

	public void setSecondKey(String secondKey) {
		this.secondKey = secondKey;
	}

	public String getThirdKey() {
		return thirdKey;
	}

	public void setThirdKey(String thirdKey) {
		this.thirdKey = thirdKey;
	}

	public int getUserPwdHash() {
		return userPwdHash;
	}

	public void setUserPwdHash(int userPwdHash) {
		this.userPwdHash = userPwdHash;
	}

	public String getUserPwdSalt() {
		return userPwdSalt;
	}

	public void setUserPwdSalt(String userPwdSalt) {
		this.userPwdSalt = userPwdSalt;
	}

	@Override
	public String toString() {
		return Json.toJson(this);
	}

}
